package server;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;

/**
 *
 * @author Alexander Feiertag
 */
public interface ManagmentInterface extends Remote{
    
    public boolean registerUser(String username) throws RemoteException;
    public boolean logoutUser(String username) throws RemoteException;
    public boolean joinLobby(String lobbyname) throws RemoteException;
    public boolean leaveLobby(String lobbyname) throws RemoteException;
    public List<Lobby> getAvaiableLobby() throws RemoteException;
    public boolean createLobby(String lobbyname) throws RemoteException;
    public boolean startLobbyRound(String lobbyname) throws RemoteException;
}
